//
//  AudioObject.h
//  MooreDoll
//
//  Created by Orange on 2014/12/29.
//  Copyright (c) 2014年 Tank. All rights reserved.
//

#import <Foundation/Foundation.h>
@protocol AudioObjectDelegate <NSObject>
- (void) audioObjectTimeText: (NSString *) text ;
- (void) audioObjectPlayFinish ;
@end

@interface AudioObject : NSObject
@property (nonatomic, weak) IBOutlet id<AudioObjectDelegate>delegate;


+ (id)sharedManager ;
- (void) audioObjectDrawRect ;
- (void) audioObjectSaveRecorderCompletionHandler:(void (^)(NSString * filePath))completionHandler;
- (void) audioObjectAgainRecrderCompletionHandler: (void (^)(BOOL success))completionHandler  ;
- (void) audioObjectAudioStartCompletionHandler:(void (^)(BOOL success))completionHandler ;
- (void) audioObjectAudioPlayCompletionHandler: (void(^)(BOOL success))completionHandler;
- (void) audioObjectAudioPauseCompletionHandler: (void (^)(BOOL success))completionHandler;
- (void) audioObjectAudioStopCompletionHandler: (void (^)(BOOL success))completionHandler;
- (void) audioObjectTimeStop;
@end
